from settings.publicvar import Base,engine

# 导入数据库
# 登录用户信息
from views.login.model.User import CreateUser
# 所有人员基本信息,拓展信息,
from views.person.model.person import PersonBaseInfo,PersonOther,Assessment,JobInfo

# from views.schoolInfo.model.SchoolInfo import CreateSchoolInfo
# from views.publicfunds.model.publicfunds import PublicFunds
# 学习经历
from views.learningexperience.model.learningexperience import LearningExperience
# 进修情况
from views.furtherstudy.model.furtherstudy import FurtherStudy
# 岗位情况，薪级情况，套改，套改标准
from views.salary.model.salary import Position,SalaryScale,Setreform,SetreformStatistics
# 图书、作者、出版社、分类
from views.book.mode.book import Author,Category,Publisher,Books
# 初始化设置
from settings.initsetting.mode.initsetting import InitSetting

def create_tables():
    print('开始创建数据库')
    Base.metadata.create_all(engine)
    print('创建数据库结束')